Skip to content

Release v2.0.0-rc.1#5023

Merged
tig merged 12 commits intomainfrom
release/v2.0.0-rc.1
Apr 20, 2026
Merged

Release v2.0.0-rc.1#5023
tig merged 12 commits intomainfrom
release/v2.0.0-rc.1

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented Apr 20, 2026

Release v2.0.0-rc.1

This is a rc pre-release.

Version: 2.0.0-rc.1
NuGet Package: Terminal.Gui 2.0.0-rc.1

What happens when this PR is merged

  1. ✅ The Finalize Release workflow will automatically create tag v2.0.0-rc.1
  2. ✅ The Publish workflow will build and push to NuGet.org
  3. ✅ A GitHub Release will be created with auto-generated notes
  4. ✅ A back-merge PR from maindevelop will be opened

Checklist

  • CI passes on this PR
  • Version looks correct: 2.0.0-rc.1
  • Release notes reviewed (will be auto-generated on merge)

tig and others added 12 commits April 20, 2026 11:05
* Cleans up examples.

* updated docs

* new sample.gif

* reverted
* Fixes #4986. Navigating with Viewport.Y greater than zero will cause scrolling to increase, even if the current line fits within the available height.

* Fixes #4990. Navigating with Viewport.X greater than zero will cause scrolling left, even if the current column isn't at the right of the viewport

* Fixes #4994 - Navigating left and right while holding down the Ctrl key does not cause edge scrolling.

* Fixes #4998. TextView.UpdateContentSize isn't working correctly on insert and delete text

* Fixes #4999. TextView with hidden cursor due scrolling pressing any CursorRight/Left/Down/Up keys doesn't adjust to make the cursor visible

* Update Tests/UnitTestsParallelizable/Views/TextView.NavigationTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes #4891. DoDrawComplete should ignore scrolled Viewport.Location when excluding opaque view area

* Clarify comment related to deleted

* Fix MoveUp() and add more unit tests

* Test that proves despite does not change viewport position but does set NeedsDraw.

* Fix MoveLeft method and add a test

* Fix MoveWordLeft and add unit test

* Fix MoveWordRight and add unit test

* Simplify MoveRight code

* Fix DeleteCharLeft invoke ContentChanged twice

* Fix ShouldInvalidateMaxWidthCache to use full size

* Remove unnecessary LINQ in _cachedMaxWidthPerLine

* Move ShouldInvalidateMaxWidthCache tests

* Fix ArgumentOutOfRangeException on DeleteTextLeft

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
… work well (#5010)

* Cleans up examples.

* updated docs

* Add LayoutAndDrawComplete event, improve shutdown/reset

- Adds LayoutAndDrawComplete event to IApplication and ApplicationImpl, raised after layout/draw completes
- Refactors ApplicationMainLoop to track first layout/draw with _firstLayoutAndDrawComplete
- Removes UnsubscribeDriverEvents and inlines DeviceAttributesStartupQueryTimeout
- Uses Lock for _sessionStackLock for better thread safety
- Ensures terminal attributes are reset (ESC[0m) and cursor shown on shutdown in AnsiOutput
- Adds CSI_ResetAttributes to EscSeqUtils
- Skips IterationImpl_Inline_FullTimeline_TraceDump test (tracing not for test results)

* Update Tests/UnitTestsParallelizable/Drivers/Output/InlineDrawTimingTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/Drivers/AnsiHandling/EscSeqUtils/EscSeqUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/App/MainLoop/ApplicationMainLoop.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update LayoutAndDrawComplete event summary and remarks

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…5018)

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…CWP InitializingShadowStyle event (#5012)

* Cleans up examples.

* updated docs

* Initial plan

* Fixes #4885. Button: avoid create-then-destroy shadow allocation via GetDefaultShadowStyle()

Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/4c164de3-c266-4539-996f-a3b941b0a367

Co-authored-by: tig <585482+tig@users.noreply.github.com>

* Update Terminal.Gui/Views/ScrollBar/ScrollButton.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/ViewBase/Adornment/ArrangerButton.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Tests/UnitTestsParallelizable/Views/ButtonTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/Views/Button.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Redesign shadow initialization to use CWP event (OnInitializingShadowStyle + InitializingShadowStyle)

Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/14508ce0-b4f0-4534-8270-4c61d75880c9

Co-authored-by: tig <585482+tig@users.noreply.github.com>

* Darken shadow effect in ShadowView for non-opaque style

Increased the dimming factor for shadow colors in ShadowView by updating GetDimmerColor parameters from 0.05/0.25 to 0.9. This results in a much darker shadow appearance when ShadowStyle is not Opaque.

* Refactor docs and style in Button and ArrangerButton

Reformat XML docs for readability and line wrapping. Convert OnHotKeyCommand to an expression-bodied member. Apply minor whitespace and style fixes to align with project conventions. No functional changes.

* Update ShadowTests expected ANSI output for background

Changed the expected ANSI color code in ShadowTests.cs from bright white (\x1b[107m) to black (\x1b[40m) for the second cell in the driver output assertion, aligning the test with the updated rendering behavior.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tig <585482+tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---
updated-dependencies:
- dependency-name: Markdig
  dependency-version: 1.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Cleans up examples.

* updated docs

* Release v2.0.0-beta.218 (#5021)

* Release new `main` build (#5005)

* Updates the sample.gif (#5007)

* Cleans up examples.

* updated docs

* new sample.gif

* reverted

* Fix remaining TextView issues (#4987)

* Fixes #4986. Navigating with Viewport.Y greater than zero will cause scrolling to increase, even if the current line fits within the available height.

* Fixes #4990. Navigating with Viewport.X greater than zero will cause scrolling left, even if the current column isn't at the right of the viewport

* Fixes #4994 - Navigating left and right while holding down the Ctrl key does not cause edge scrolling.

* Fixes #4998. TextView.UpdateContentSize isn't working correctly on insert and delete text

* Fixes #4999. TextView with hidden cursor due scrolling pressing any CursorRight/Left/Down/Up keys doesn't adjust to make the cursor visible

* Update Tests/UnitTestsParallelizable/Views/TextView.NavigationTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes #4891. DoDrawComplete should ignore scrolled Viewport.Location when excluding opaque view area

* Clarify comment related to deleted

* Fix MoveUp() and add more unit tests

* Test that proves despite does not change viewport position but does set NeedsDraw.

* Fix MoveLeft method and add a test

* Fix MoveWordLeft and add unit test

* Fix MoveWordRight and add unit test

* Simplify MoveRight code

* Fix DeleteCharLeft invoke ContentChanged twice

* Fix ShouldInvalidateMaxWidthCache to use full size

* Remove unnecessary LINQ in _cachedMaxWidthPerLine

* Move ShouldInvalidateMaxWidthCache tests

* Fix ArgumentOutOfRangeException on DeleteTextLeft

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes UICatalog --version, adds release workflows and maintainer docs (#5009)

* Fixes `AppModel.Inline` issues needed for `Output-ConsoleGridView` to work well (#5010)

* Cleans up examples.

* updated docs

* Add LayoutAndDrawComplete event, improve shutdown/reset

- Adds LayoutAndDrawComplete event to IApplication and ApplicationImpl, raised after layout/draw completes
- Refactors ApplicationMainLoop to track first layout/draw with _firstLayoutAndDrawComplete
- Removes UnsubscribeDriverEvents and inlines DeviceAttributesStartupQueryTimeout
- Uses Lock for _sessionStackLock for better thread safety
- Ensures terminal attributes are reset (ESC[0m) and cursor shown on shutdown in AnsiOutput
- Adds CSI_ResetAttributes to EscSeqUtils
- Skips IterationImpl_Inline_FullTimeline_TraceDump test (tracing not for test results)

* Update Tests/UnitTestsParallelizable/Drivers/Output/InlineDrawTimingTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/Drivers/AnsiHandling/EscSeqUtils/EscSeqUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/App/MainLoop/ApplicationMainLoop.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update LayoutAndDrawComplete event summary and remarks

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes prepare release workflow (#5015)

* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags (#5018)

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix/prepare release (#5019)

* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tig tig merged commit 2111cd4 into main Apr 20, 2026
12 checks passed
@tig tig deleted the release/v2.0.0-rc.1 branch April 20, 2026 18:51
BDisp added a commit to BDisp/Terminal.Gui that referenced this pull request Apr 20, 2026
* Release new `main` build (gui-cs#5005)

* Updates the sample.gif (gui-cs#5007)

* Cleans up examples.

* updated docs

* new sample.gif

* reverted

* Fix remaining TextView issues (gui-cs#4987)

* Fixes gui-cs#4986. Navigating with Viewport.Y greater than zero will cause scrolling to increase, even if the current line fits within the available height.

* Fixes gui-cs#4990. Navigating with Viewport.X greater than zero will cause scrolling left, even if the current column isn't at the right of the viewport

* Fixes gui-cs#4994 - Navigating left and right while holding down the Ctrl key does not cause edge scrolling.

* Fixes gui-cs#4998. TextView.UpdateContentSize isn't working correctly on insert and delete text

* Fixes gui-cs#4999. TextView with hidden cursor due scrolling pressing any CursorRight/Left/Down/Up keys doesn't adjust to make the cursor visible

* Update Tests/UnitTestsParallelizable/Views/TextView.NavigationTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes gui-cs#4891. DoDrawComplete should ignore scrolled Viewport.Location when excluding opaque view area

* Clarify comment related to deleted

* Fix MoveUp() and add more unit tests

* Test that proves despite does not change viewport position but does set NeedsDraw.

* Fix MoveLeft method and add a test

* Fix MoveWordLeft and add unit test

* Fix MoveWordRight and add unit test

* Simplify MoveRight code

* Fix DeleteCharLeft invoke ContentChanged twice

* Fix ShouldInvalidateMaxWidthCache to use full size

* Remove unnecessary LINQ in _cachedMaxWidthPerLine

* Move ShouldInvalidateMaxWidthCache tests

* Fix ArgumentOutOfRangeException on DeleteTextLeft

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes UICatalog --version, adds release workflows and maintainer docs (gui-cs#5009)

* Fixes `AppModel.Inline` issues needed for `Output-ConsoleGridView` to work well (gui-cs#5010)

* Cleans up examples.

* updated docs

* Add LayoutAndDrawComplete event, improve shutdown/reset

- Adds LayoutAndDrawComplete event to IApplication and ApplicationImpl, raised after layout/draw completes
- Refactors ApplicationMainLoop to track first layout/draw with _firstLayoutAndDrawComplete
- Removes UnsubscribeDriverEvents and inlines DeviceAttributesStartupQueryTimeout
- Uses Lock for _sessionStackLock for better thread safety
- Ensures terminal attributes are reset (ESC[0m) and cursor shown on shutdown in AnsiOutput
- Adds CSI_ResetAttributes to EscSeqUtils
- Skips IterationImpl_Inline_FullTimeline_TraceDump test (tracing not for test results)

* Update Tests/UnitTestsParallelizable/Drivers/Output/InlineDrawTimingTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/Drivers/AnsiHandling/EscSeqUtils/EscSeqUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/App/MainLoop/ApplicationMainLoop.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update LayoutAndDrawComplete event summary and remarks

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes prepare release workflow (gui-cs#5015)

* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags (gui-cs#5018)

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix/prepare release (gui-cs#5019)

* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fixes gui-cs#4843. Button: avoid create-then-destroy shadow allocation via CWP InitializingShadowStyle event (gui-cs#5012)

* Cleans up examples.

* updated docs

* Initial plan

* Fixes gui-cs#4885. Button: avoid create-then-destroy shadow allocation via GetDefaultShadowStyle()

Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/4c164de3-c266-4539-996f-a3b941b0a367

Co-authored-by: tig <585482+tig@users.noreply.github.com>

* Update Terminal.Gui/Views/ScrollBar/ScrollButton.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/ViewBase/Adornment/ArrangerButton.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Tests/UnitTestsParallelizable/Views/ButtonTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/Views/Button.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Redesign shadow initialization to use CWP event (OnInitializingShadowStyle + InitializingShadowStyle)

Agent-Logs-Url: https://github.com/gui-cs/Terminal.Gui/sessions/14508ce0-b4f0-4534-8270-4c61d75880c9

Co-authored-by: tig <585482+tig@users.noreply.github.com>

* Darken shadow effect in ShadowView for non-opaque style

Increased the dimming factor for shadow colors in ShadowView by updating GetDimmerColor parameters from 0.05/0.25 to 0.9. This results in a much darker shadow appearance when ShadowStyle is not Opaque.

* Refactor docs and style in Button and ArrangerButton

Reformat XML docs for readability and line wrapping. Convert OnHotKeyCommand to an expression-bodied member. Apply minor whitespace and style fixes to align with project conventions. No functional changes.

* Update ShadowTests expected ANSI output for background

Changed the expected ANSI color code in ShadowTests.cs from bright white (\x1b[107m) to black (\x1b[40m) for the second cell in the driver output assertion, aligning the test with the updated rendering behavior.

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tig <585482+tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Bump Markdig from 1.1.2 to 1.1.3 (gui-cs#5017)

---
updated-dependencies:
- dependency-name: Markdig
  dependency-version: 1.1.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Back-merge v2.0.0-beta.218 from main into develop (gui-cs#5022)

* Cleans up examples.

* updated docs

* Release v2.0.0-beta.218 (gui-cs#5021)

* Release new `main` build (gui-cs#5005)

* Updates the sample.gif (gui-cs#5007)

* Cleans up examples.

* updated docs

* new sample.gif

* reverted

* Fix remaining TextView issues (gui-cs#4987)

* Fixes gui-cs#4986. Navigating with Viewport.Y greater than zero will cause scrolling to increase, even if the current line fits within the available height.

* Fixes gui-cs#4990. Navigating with Viewport.X greater than zero will cause scrolling left, even if the current column isn't at the right of the viewport

* Fixes gui-cs#4994 - Navigating left and right while holding down the Ctrl key does not cause edge scrolling.

* Fixes gui-cs#4998. TextView.UpdateContentSize isn't working correctly on insert and delete text

* Fixes gui-cs#4999. TextView with hidden cursor due scrolling pressing any CursorRight/Left/Down/Up keys doesn't adjust to make the cursor visible

* Update Tests/UnitTestsParallelizable/Views/TextView.NavigationTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes gui-cs#4891. DoDrawComplete should ignore scrolled Viewport.Location when excluding opaque view area

* Clarify comment related to deleted

* Fix MoveUp() and add more unit tests

* Test that proves despite does not change viewport position but does set NeedsDraw.

* Fix MoveLeft method and add a test

* Fix MoveWordLeft and add unit test

* Fix MoveWordRight and add unit test

* Simplify MoveRight code

* Fix DeleteCharLeft invoke ContentChanged twice

* Fix ShouldInvalidateMaxWidthCache to use full size

* Remove unnecessary LINQ in _cachedMaxWidthPerLine

* Move ShouldInvalidateMaxWidthCache tests

* Fix ArgumentOutOfRangeException on DeleteTextLeft

---------

Co-authored-by: Tig <tig@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes UICatalog --version, adds release workflows and maintainer docs (gui-cs#5009)

* Fixes `AppModel.Inline` issues needed for `Output-ConsoleGridView` to work well (gui-cs#5010)

* Cleans up examples.

* updated docs

* Add LayoutAndDrawComplete event, improve shutdown/reset

- Adds LayoutAndDrawComplete event to IApplication and ApplicationImpl, raised after layout/draw completes
- Refactors ApplicationMainLoop to track first layout/draw with _firstLayoutAndDrawComplete
- Removes UnsubscribeDriverEvents and inlines DeviceAttributesStartupQueryTimeout
- Uses Lock for _sessionStackLock for better thread safety
- Ensures terminal attributes are reset (ESC[0m) and cursor shown on shutdown in AnsiOutput
- Adds CSI_ResetAttributes to EscSeqUtils
- Skips IterationImpl_Inline_FullTimeline_TraceDump test (tracing not for test results)

* Update Tests/UnitTestsParallelizable/Drivers/Output/InlineDrawTimingTests.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/Drivers/AnsiHandling/EscSeqUtils/EscSeqUtils.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update Terminal.Gui/App/MainLoop/ApplicationMainLoop.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update LayoutAndDrawComplete event summary and remarks

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fixes prepare release workflow (gui-cs#5015)

* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags (gui-cs#5018)

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix/prepare release (gui-cs#5019)

* Cleans up examples.

* updated docs

* Use RELEASE_PAT for release workflows to allow PR creation

GITHUB_TOKEN is not permitted to create pull requests in this repo.
Switch prepare-release and finalize-release workflows to use the
RELEASE_PAT secret for checkout, PR creation, and release creation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix version numbering: auto-increment pre-release from existing tags

The workflow was manually constructing versions like '2.0.0-beta' without
the incrementing number suffix. Now it scans existing git tags to find the
latest matching tag (e.g., v2.0.0-beta.217) and increments to produce
the next version (e.g., 2.0.0-beta.218).

Also adds:
- Concurrency group to prevent race conditions between runs
- Remote branch conflict detection before creating release branch
- Simplified GitVersion.yml label update logic

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Set release label to 'rc' for v2.0.0-rc.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: BDisp <bd.bdisp@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: tig <585482+tig@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants